<div class="main layui-clear">
    <div class="wrap">
        <div class="content" style="margin-right:0">
            <div class="fly-tab">
                <span>
                    <a href="{:U('home/index/all')}" class="tab-this">
                        全部
                    </a>
                    <a href="{:U('home/index/poured')}">
                        未结帖
                    </a>
                    <a href="/jie/solved/">
                        已采纳
                    </a>
                    <a href="{:U('home/index/essence')}">
                        精帖
                    </a>
                    <a href="{:U('home/ucenter/index')}">
                        我的帖
                    </a>
                </span>
                <form action="{:U('home/index/seek')}" class="fly-search">
                    <i class="iconfont icon-sousuo">
                    </i>
                    <input class="layui-input" autocomplete="off" placeholder="搜索内容，回车跳转"
                    type="text" name="q">
                </form>
                <a href="{:U('home/question/add')}" class="layui-btn jie-add">
                    发表新帖
                </a>
            </div>
            <ul class="fly-panel fly-list fly-list-top">
                <?php foreach ($tips as $v) { ?>
                <li class="fly-list-li">
                    <a href="{:U('home/use/index',array('id'=>$v['uid']))}" class="fly-list-avatar">
                        <img src="__ROOT__/<?php echo $v['face'] ?>" alt="NickBai">
                    </a>
                    <h2 class="fly-tip">
                        <a href="{:U('home/question/index',array('id'=>$v['id']))}">
                           <?php echo $v['title'] ?>
                        </a>
                               <span class="fly-tip-stick">
                                    置顶
                                </span> 
                    </h2>
                    <p>
                        <span>
                            <a href="{:U('home/use/index',array('id'=>$v['uid']))}">
                                <?php echo $v['nickname'] ?>
                            </a>
                        </span>
                        <span>
                            <?php echo CT($v['create_time']) ?>
                        </span>
                        <span>
                            <?php echo $v['cname'] ?>
                        </span>
                        <span class="fly-list-hint">
                            <i class="iconfont" title="回答">
                                
                            </i>
                            <?php echo $v['answer_num'] ?>
                            <i class="iconfont" title="人气">
                                
                            </i>
                            <?php echo $v['view_num'] ?>
                        </span>
                    </p>
                </li>
                <?php } ?>
                <?php foreach ($common as $row) { ?>
                    <li class="fly-list-li">
                        <a href="{:U('home/use/index',array('id'=>$row['uid']))}" class="fly-list-avatar">
                            <img src="__ROOT__/<?php echo $row['face'] ?>" alt="bxm13579">
                        </a>
                        <h2 class="fly-tip">
                            <a href="{:U('home/question/index',array('id'=>$row['id']))}">
                                <?php echo $row['title'] ?>
                            </a>
                        </h2>
                        <p>
                            <span>
                                <a href="/u/4316592">
                                    <?php echo $row['nickname'] ?>
                                </a>
                            </span>
                            <span>
                                <?php echo CT($row['create_time']) ?>
                            </span>
                            <span>
                                <?php echo $row['cname'] ?>
                            </span>
                            <span class="fly-list-hint">
                                <i class="iconfont" title="回答">
                                    
                                </i>
                                <?php echo $row['answer_num'] ?>
                                <i class="iconfont" title="人气">
                                    
                                </i>
                                <?php echo $row['view_num'] ?>
                            </span>
                        </p>
                    </li>
                <?php } ?>              
                </ul>
            <style type="text/css">
                .laypage-main{
                    border: 0px solid #000;
                }
                .laypage-main div{
                    border: 0px solid #000;
                }
                .laypage-main a{
                    margin-left: 10px;
                    border: 1px solid gray;
                }
                .laypage-main span{
                    margin-left: 10px;
                    background: gray;
                    color: white;
                }

            </style>
            <div style="text-align: center">
                <div class="laypage-main">
                    <?php echo $page ?>
                </div>
            </div>
        </div>
    </div>
</div>